package com.chagee.store.operation.server.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 导出打烊结算
 *
 * @Author : hk
 * @Date : 2024/10/15
 */
@Data
@ExcelTarget("打烊结算单")
@EqualsAndHashCode(callSuper = false)
public class StoreSettlementExcelVO implements Serializable {
	private static final long serialVersionUID = 2137272029465619891L;

	/**
	 * 工单表id
	 */
	private Long id;

	/**
	 * 单据编号
	 */
	@Excel(name = "单据编号", width = 20)
	private String settlementNo;

	/**
	 * 门店编号
	 */
	@Excel(name = "门店编号", width = 20)
	private String storeNo;

	/**
	 * 门店名称
	 */
	@Excel(name = "门店名称", width = 20)
	private String storeName;

	/**
	 * 门店动线数
	 */
	@Excel(name = "门店动线数", width = 20)
	private String storeLineNum;

	/**
	 * 门店面积
	 */
	@Excel(name = "门店面积", width = 20)
	private String storeArea;

	/**
	 * 门店类型
	 */
	@Excel(name = "门店类型", width = 20)
	private String storeType;

	/**
	 * 单据类型,0三方打烊
	 */
	@Excel(name = "单据类型", width = 20)
	private String settlementType;

	/**
	 * 结算周期
	 */
	@Excel(name = "结算周期")
	private String settlementCycle;

	/**
	 * 单据状态
	 */
	@Excel(name = "单据状态", width = 20)
	private String documentStatus;

	/**
	 * 结算平均评分
	 */
	@Excel(name = "结算平均评分", width = 20)
	private BigDecimal settlementScore;

	/**
	 * 供应商
	 */
	@Excel(name = "供应商", width = 20)
	private String supplier;

	/**
	 * 需支付金额
	 */
	@Excel(name = "需支付金额", width = 20)
	private BigDecimal payMoney;

	/**
	 * 调整金额
	 */
	@Excel(name = "调整金额(元)", width = 20)
	private BigDecimal adjustMoney;

	/**
	 * 店铺性质
	 */
	@Excel(name = "店铺性质", width = 20, replace = {"直营_ZY", "联营_LY", "加盟_JM", "HHR_HHR"})
	private String storeCategory;

	/**
	 * 所属子公司
	 */
	@Excel(name = "所属子公司", width = 20)
	private String companyName;

	/**
	 * 加盟商
	 */
	@Excel(name = "加盟商", width = 20)
	private String businessName;

	/**
	 * 创建时间
	 */
	@Excel(name = "创建时间", width = 20, exportFormat = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

}
